package routers

import (
	"github.com/astaxie/beego"
	"golang-blog/controllers"
	"golang-blog/controllers/blog"
)

//绑定url
func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Include(&blog.TopicController{}, &blog.LoginController{}, &blog.LogoutController{}, &blog.AboutController{})
}
